package com.example.commom.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86187
 * Date: 2023-09-26
 * Time: 1:21
 */
public enum RoleType {
    ADMIN("2"),
    WRITER("1"),
    READER("0");

    @EnumValue
    private final String value;

    RoleType(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }
}
